/*
 * @Author: 高瑞寒 15932717091@163.com
 * @Date: 2022-05-08 23:04:17
 * @LastEditTime: 2022-05-13 18:26:35
 * @LastEditors: 高瑞寒 15932717091@163.com
 * @Description: 
 */
import React from 'react'
import {  useRoutes } from 'react-router-dom'
import routers from './router'
// import { getItem } from '@/utils/storage'
export default function App() {
  const elements = useRoutes(routers)
  // const {pathname} = useLocation()
  // const token = getItem('info')
  
  return (
    <div>
      {elements}
    </div>
  )
}
